<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>页面二</title>
	</head>
	<body>
		<button type="button" onclick="shuax()">刷新</button>
		<button type="button" onclick="qianjing()">前进</button>
		<button type="button" onclick="houtui()">后退</button>
		<button type="button" onclick="taio3()">跳转到页面3</button>
	</body>
	<script type="text/javascript">
		function shuax(){
			location.reload()
		}
		function qianjing(){
			history.go(2)
		}
		function houtui(){
			history.go(-2)
		}
		function taio3(){
			location.href='index3.html';
		}
	</script>
</html>
